package com.example.proxy.tx;

import org.springframework.stereotype.Component;

/**
 * @author yexi
 */
@Component
public class CustomTransactionManager {
    public void begin() {
        System.out.println("开启事务");
    }

    public void commit() {
        System.out.println("提交事务");
    }

    public void rollback() {
        System.out.println("回滚事务");
    }
}
